import matplotlib as mpl
mpl.rcParams['backend'] = 'gtk3agg'

import matplotlib.pyplot as plt


plt.bar(left = (0,1),height = (1,0.5),width = 0.35)
# mpl.pyplot.savefig('bar.png')
plt.show()
